myfile=open('01.txt','r');
print(myfile.read(3));
print(myfile.read(6));#会接着文件指针，继续往下读

myfile.seek(0,0);#指针归到文件头

print('指针归位后\n',myfile.read());